//
//  DataBaseManager.h
//  18SQL通讯录作业
//
//  Created by dllo on 16/8/9.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "sqlite3.h"
@class Model;
@interface DataBaseManager : NSObject{
    sqlite3 *dbPoint;
}

+ (DataBaseManager *)shareManager;
- (BOOL)openDataBase;
- (BOOL)closeDataBase;
- (BOOL)createTable;
- (BOOL)insertModel:(Model *)model;
- (__kindof NSArray *)selectAll;

@end
